package com.pope.framework.triage.modular.entity.base;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.Length;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description= "分诊信息")
public class TriageInfoBase {
	 /**
     * 系统主键
     */
    @TableId("ID")
    @ApiModelProperty(value = "分诊主键,新增修改不需填写",dataType="Integer")
    private Integer id;
    
  
	 /**
     * 患者ID
     */
    @TableField("PATIENT_ID")
	@ApiModelProperty(value = "患者ID",dataType="Integer")
    private Integer patientId;

    /**
     * 是否三无人员1是0否
     */
    @TableField("THREE_NO_STAFF")
    @ApiModelProperty(value = "是否三无人员1是0否",dataType="Integer")
    
    @Max(value=1,message="是否三无人员最大输入数值为1")
    private Integer threeNoStaff;

    /**
     * 来院方式备注
     */
    @TableField("COMING_WAY_REMARK")
	@ApiModelProperty(value = "来源方式备注",dataType="String")
    @Length(max=40,message="来源方式备注最大长度为40")
    private String comingWayRemark;

  

    /**
     * ECG提示心肌梗死1是0否
     */
    @TableField("MYOCARDIAL_INFARCTION")
    @ApiModelProperty(value = "ECG提示心肌梗死1是0否",dataType="Integer")
    @Max(value=1,message="ECG提示心肌梗死最大输入数值为1")
    private Integer myocardialInfarction;

    /**
     * 意识状态
     */
    @TableField("CONSCIOUS_STATE")
    @ApiModelProperty(value = "意识状态ID",dataType="String")
    @Length(max=4,message="意识状态ID最大长度为4")
    private String consciousState;
}
